//获取地图中心点
export function Getmapcenter() {
    var data={}

    var url
    url='/syscode/dogetmapcenter.do'

    return {"url":url ,"data":data}
}
//获取websocket参数
export function Getwebsocketparam() {
    var data={}

    var url
    url='/syscode/dogetwebsocket.do'

    return {"url":url ,"data":data}
}
//保存地图中心点
export function Savemapcenter(msg) {
    var data={}
    data.lat = msg.lat;
    data.lng = msg.lng;
    var url
    url='/syscode/dosavemapcenter.do'

    return {"url":url ,"data":data}
}

//设置节能基准
export function Setenergyreference(msg) {
    var data={}
    data.energyreference = msg.energyreference;
    data.projectid = msg.projectid;
    data.floorNo = msg.floorNo;
    var url
    url='/syscode/dosetEnergyStandard.do'

    return {"url":url ,"data":data}
}
//获取系统编码
export function GetSyscode(msg) {
    var data={}
    data.start=msg.perpage*(msg.currentPage-1)+1;
    data.limit=msg.perpage;
    if(msg.type != undefined)
    {
        data.filterValue=msg.filterValue;
        data.filterTxt=msg.filterTxt;
        data.type=msg.type;
    }
    else
    {
        data.filterValue=msg.filterValue;
        data.filterTxt=msg.filterTxt;
    }


    var url
    url='/syscode/doPagedQuery.do'

    return {"url":url ,"data":data}
}
//系统编码修改
export function SyscodeSave(msg) {
    var url
    url='/syscode/doSave.do'
    return {"url":url ,"data":msg}
}